<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%@ page import="com.google.appengine.api.users.User"%>
<%@ page import="com.google.appengine.api.users.UserService"%>
<%@ page import="com.google.appengine.api.users.UserServiceFactory"%>

<%
	UserService userService = UserServiceFactory.getUserService();
	User user = userService.getCurrentUser();

	String url = userService.createLogoutURL("/main");
	String urlLinktext = "Logout";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Timesheet Stone apple</title>

</head>

<body>
	<div id="head">
		<div style="width: 100%">
			<div class="line"></div>
			<div class="topLine"></div>
			<div class="line">
				<div style="float: right;" class="headline">
					Welcome,
					<%=(user == null ? "" : user.getNickname())%>
					| <a href="/timesheet">Timesheet</a> | <a href="/profile">Profile</a> | Settings | <a
						href="<%=url%>"><%=urlLinktext%></a>
				</div>
			</div>
			<div align="left">
				<img src="SAT.jpg" width="430" height="115" />
			</div>
		</div>
	</div>
</body>
</html>
